Skip to content

Big overhaul of project#18

Open
eivindbergem wants to merge 1 commit intomasterfrom
timer-queue
Open

Big overhaul of project#18
eivindbergem wants to merge 1 commit intomasterfrom
timer-queue

Conversation

@eivindbergem
Copy link
Copy Markdown
Collaborator

No description provided.

This was referenced Jun 13, 2024
@eivindbergem eivindbergem self-assigned this Jun 14, 2024
@eivindbergem eivindbergem marked this pull request as draft June 14, 2024 17:51
@eivindbergem eivindbergem marked this pull request as ready for review July 18, 2024 19:23
- Added `TaskHandle` as a non-generic reference to `Task`.
- Use array to initialize executor with tasks, avoiding macro.
- Wrap `Executor` and `Scheduler` in handlers requiring pinned
  references. This way we don't need unsafe when calling from the
  handler.
- Removed async timer task to avoid having N + 1 tasks.
- Moved timer wake logic into interrupt handler.
- Use UnsafeCell for interior mutability in priority queue
- Added special handling when popping root from heap of size 1 to
  avoid swapping item with itself.
- Use `UnsafeCell` for timer counter.
- Use UnsafeCell and raw pointers in executor to keep miri happy.
- Added macro to create static executor.
- Cleaned up memory leaks in test code
- Moved macro tests to integration test
- Removed dependency on atomig
- Disable std feature for crossbeam-utils
- Removed dependency on log
- Removed timer from executor
- Used fugit instead of embedded time
- Replaced raw pointer with pinned pointer in `ExecutorHandle`
- Added systick tick-less timer
- Use build script to allow memory.x in crate root
- Added std timer
- Added std example
- Task takes future instead of function
- Moved type alias to inne module to make compiler happy
- Moved priority queue into hyperloop crate and fixed loom test
- Added `nightly` and `macros` features
- Added changelog
- Added license
- Automated readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant